<script language="javascript">
	function back(){
		document.location="<?php echo site_url(); ?>/master_program";
	}
</script>
<?php
echo form_open("/master_program/form_program/".$parameter, array("name"=>"form_program","id"=>"medic_form"));
if($parameter == FALSE){
	$nama_program	= set_value("nama_program");
	$status		= set_value("status");
} else {
	$nama_program	= $value["NAMA_PROGRAM"];
	// $status		= $value["STATUS"];
}
?>
<p>
	<label>Nama Program</label>
	<input type="text" name="nama_program" value="<?php echo $nama_program; ?>">
	<?php echo form_error("nama_program"); ?>
</p>
<!--<p>
	<label>Status</label>
	<select name="status">
		<option value="">-- Pilih Status --</option>
		<option value="1" <?//php echo ($status == 1) ? ("selected") : (""); ?>>Aktif</option>
		<option value="2" <?//php echo ($status == 2) ? ("selected") : (""); ?>>Tidak Aktif</option>
	</select>
	<?//php echo form_error("status"); ?>
</p>-->
<p>
	<input type="submit" class="btn btn-primary" id="submit" value="Simpan">
	<input type="reset" class="btn btn-primary" id="submit" value="Reset">
	<input type="button" class="btn btn-primary" id="submit" value="Kembali" onClick="back()">
</p>
<?php echo form_close(); ?>